[INFO] cloning repository https://github.com/stigkj/rustful-example
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stigkj/rustful-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstigkj%2Frustful-example", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstigkj%2Frustful-example'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b1bb2401c4dcf7c534851f51cb0a3ff283682327
[INFO] testing stigkj/rustful-example against master#d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstigkj%2Frustful-example" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/stigkj/rustful-example on toolchain d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/stigkj/rustful-example
[INFO] finished tweaking git repo https://github.com/stigkj/rustful-example
[INFO] tweaked toml for git repo https://github.com/stigkj/rustful-example written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/stigkj/rustful-example already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-3/source/src/main.rs
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/Ogeon/rustful`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-3/source/src/main.rs
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ada60521b6f167f16f0e59994d84579daadc249a8605f0f9c88585e6e88516f8
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ada60521b6f167f16f0e59994d84579daadc249a8605f0f9c88585e6e88516f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ada60521b6f167f16f0e59994d84579daadc249a8605f0f9c88585e6e88516f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ada60521b6f167f16f0e59994d84579daadc249a8605f0f9c88585e6e88516f8", kill_on_drop: false }`
[INFO] [stdout] ada60521b6f167f16f0e59994d84579daadc249a8605f0f9c88585e6e88516f8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0257c5cd81355a31ffc3c1213d8d7b4b676ca061063fe62a752842c437af73c3
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "0257c5cd81355a31ffc3c1213d8d7b4b676ca061063fe62a752842c437af73c3", kill_on_drop: false }`
[INFO] [stderr] warning: file found to be present in multiple build targets: /opt/rustwide/workdir/src/main.rs
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling httparse v1.4.0
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling safemem v0.2.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling anymap v0.12.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.5
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling tinyvec v1.2.0
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling base64 v0.9.3
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling mime v0.2.6
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]    Compiling twoway v0.1.8
[INFO] [stderr]    Compiling unicode-normalization v0.1.17
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling memchr v1.0.2
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling buf_redux v0.6.3
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling tempdir v0.3.7
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling multipart v0.14.2
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling rustful v0.9.0 (https://github.com/Ogeon/rustful#24173f35)
[INFO] [stderr]    Compiling hyper v0.10.16
[INFO] [stderr]    Compiling test v0.1.0-pre (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `rustful::TreeRouter`
[INFO] [stdout]  --> src/main.rs:9:42
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rustful::{Server, Context, Response, TreeRouter, Handler};
[INFO] [stdout]   |                                          ^^^^^^^^^^ no `TreeRouter` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `insert_routes` in this scope
[INFO] [stdout]   --> src/main.rs:37:18
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let router = insert_routes!{
[INFO] [stdout]    |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0437]: type `Cache` is not a member of trait `Handler`
[INFO] [stdout]   --> src/main.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     type Cache = ();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ not a member of trait `Handler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0407]: method `handle_request` is not a member of trait `Handler`
[INFO] [stdout]   --> src/main.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | /     fn handle_request(&self, context: Context, response: Response) {
[INFO] [stdout] 32 | |         self.0(context, response);
[INFO] [stdout] 33 | |     }
[INFO] [stdout]    | |_____^ not a member of trait `Handler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rustful::Method::Get`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rustful::Method::Get;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `handle`
[INFO] [stdout]   --> src/main.rs:29:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Handler for HandlerFn {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `handle` in implementation
[INFO] [stdout]    |
[INFO] [stdout]    = help: implement the missing item: `fn handle(&self, _: rustful::Context<'_, '_, '_, '_>, _: Response<'_, '_>) { todo!() }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_writer` found for struct `Response<'_, '_>` in the current scope
[INFO] [stdout]   --> src/main.rs:20:30
[INFO] [stdout]    |
[INFO] [stdout] 20 |     if let Err(e) = response.into_writer().send(format!("Hello, {}!", person))  {
[INFO] [stdout]    |                              ^^^^^^^^^^^ method not found in `Response<'_, '_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `log` on type `rustful::Context<'_, '_, '_, '_>`
[INFO] [stdout]   --> src/main.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |         context.log.note(&format!("could not send hello: {}", e.description()));
[INFO] [stdout]    |                 ^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `headers`, `http_version`, `address`, `method`, `uri_path` ... and 6 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/main.rs:49:25
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let server_result = Server::new().port(8080).handlers(router).run();
[INFO] [stdout]    |                         ^^^^^^^^^^^-- supplied 0 arguments
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         expected 1 argument
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/rustful-79f8a274a1928687/24173f3/src/server/mod.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 94 |     pub fn new(handlers: R) -> Server<R> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `port` found for struct `rustful::Server<_>` in the current scope
[INFO] [stdout]   --> src/main.rs:49:39
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let server_result = Server::new().port(8080).handlers(router).run();
[INFO] [stdout]    |                                       ^^^^ method not found in `rustful::Server<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0061, E0407, E0432, E0437, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `test`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "0257c5cd81355a31ffc3c1213d8d7b4b676ca061063fe62a752842c437af73c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0257c5cd81355a31ffc3c1213d8d7b4b676ca061063fe62a752842c437af73c3", kill_on_drop: false }`
[INFO] [stdout] 0257c5cd81355a31ffc3c1213d8d7b4b676ca061063fe62a752842c437af73c3
